package com.sunnyebuy.merchant.po;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

/**
 * The persistent class for the sys_product database table.
 */
@Entity
@Table(name = "sys_product")
public class SysProduct implements Serializable {

	private static final long serialVersionUID = -7917380308098104795L;
	private String sysProductSku;
	private Timestamp createdTime;
	private String supplierProductSku;
	private String sysProductCategoryId;
	private String sysProductDescription;
	private String sysProductLongDescription;
	private String sysProductLongName;
	private String sysProductName;
	private BigDecimal sysProductOriginalPrice;
	private BigDecimal sysProductPrice;
	private int sysProductSalesLimit;
	private int sysProductStatus;
	private String sysProductThumb;
	private String sysSupplierId;

	public SysProduct() {
	}

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "sys_product_sku")
	public String getSysProductSku() {
		return this.sysProductSku;
	}

	public void setSysProductSku(String sysProductSku) {
		this.sysProductSku = sysProductSku;
	}

	@Column(name = "created_time")
	public Timestamp getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(Timestamp createdTime) {
		this.createdTime = createdTime;
	}

	@Column(name = "supplier_product_sku")
	public String getSupplierProductSku() {
		return this.supplierProductSku;
	}

	public void setSupplierProductSku(String supplierProductSku) {
		this.supplierProductSku = supplierProductSku;
	}

	@Column(name = "sys_product_category_id")
	public String getSysProductCategoryId() {
		return this.sysProductCategoryId;
	}

	public void setSysProductCategoryId(String sysProductCategoryId) {
		this.sysProductCategoryId = sysProductCategoryId;
	}

	@Column(name = "sys_product_description")
	public String getSysProductDescription() {
		return this.sysProductDescription;
	}

	public void setSysProductDescription(String sysProductDescription) {
		this.sysProductDescription = sysProductDescription;
	}

	@Lob()
	@Column(name = "sys_product_long_description")
	public String getSysProductLongDescription() {
		return this.sysProductLongDescription;
	}

	public void setSysProductLongDescription(String sysProductLongDescription) {
		this.sysProductLongDescription = sysProductLongDescription;
	}

	@Column(name = "sys_product_long_name")
	public String getSysProductLongName() {
		return this.sysProductLongName;
	}

	public void setSysProductLongName(String sysProductLongName) {
		this.sysProductLongName = sysProductLongName;
	}

	@Column(name = "sys_product_name")
	public String getSysProductName() {
		return this.sysProductName;
	}

	public void setSysProductName(String sysProductName) {
		this.sysProductName = sysProductName;
	}

	@Column(name = "sys_product_original_price")
	public BigDecimal getSysProductOriginalPrice() {
		return this.sysProductOriginalPrice;
	}

	public void setSysProductOriginalPrice(BigDecimal sysProductOriginalPrice) {
		this.sysProductOriginalPrice = sysProductOriginalPrice;
	}

	@Column(name = "sys_product_price")
	public BigDecimal getSysProductPrice() {
		return this.sysProductPrice;
	}

	public void setSysProductPrice(BigDecimal sysProductPrice) {
		this.sysProductPrice = sysProductPrice;
	}

	@Column(name = "sys_product_sales_limit")
	public int getSysProductSalesLimit() {
		return this.sysProductSalesLimit;
	}

	public void setSysProductSalesLimit(int sysProductSalesLimit) {
		this.sysProductSalesLimit = sysProductSalesLimit;
	}

	@Column(name = "sys_product_status")
	public int getSysProductStatus() {
		return this.sysProductStatus;
	}

	public void setSysProductStatus(int sysProductStatus) {
		this.sysProductStatus = sysProductStatus;
	}

	@Column(name = "sys_product_thumb")
	public String getSysProductThumb() {
		return this.sysProductThumb;
	}

	public void setSysProductThumb(String sysProductThumb) {
		this.sysProductThumb = sysProductThumb;
	}

	@Column(name = "sys_supplier_id")
	public String getSysSupplierId() {
		return this.sysSupplierId;
	}

	public void setSysSupplierId(String sysSupplierId) {
		this.sysSupplierId = sysSupplierId;
	}

}